package p270jp.pxv.android.behavior;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import com.google.android.material.bottomsheet.BottomSheetBehavior;

/* renamed from: jp.pxv.android.behavior.WorkaroundBottomSheetBehavior */
/* loaded from: classes2.dex */
public class WorkaroundBottomSheetBehavior extends BottomSheetBehavior {

    /* renamed from: Y */
    public boolean f18901Y;

    public WorkaroundBottomSheetBehavior(Context context, AttributeSet attributeSet) {
        super(context, attributeSet);
    }

    @Override // com.google.android.material.bottomsheet.BottomSheetBehavior, androidx.coordinatorlayout.widget.CoordinatorLayout.AbstractC0567c
    /* renamed from: g */
    public boolean mo2835g(CoordinatorLayout coordinatorLayout, View view, MotionEvent motionEvent) {
        if (!this.f18901Y) {
            return false;
        }
        return super.mo2835g(coordinatorLayout, view, motionEvent);
    }

    @Override // com.google.android.material.bottomsheet.BottomSheetBehavior, androidx.coordinatorlayout.widget.CoordinatorLayout.AbstractC0567c
    /* renamed from: h */
    public boolean mo2823h(CoordinatorLayout coordinatorLayout, View view, int i) {
        this.f18901Y = true;
        super.mo2823h(coordinatorLayout, view, i);
        return true;
    }
}
